package com.dhcc.bpm.alarm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class AlarmRecordDate implements Serializable {
	
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "主键")
    @TableId(value = "ID",type = IdType.ASSIGN_ID)
    @JsonSerialize(using = ToStringSerializer.class, nullsUsing = NullSerializer.class)
    private Long id;
	
	@ApiModelProperty(value = "告警编号")
    @TableField("NOTICE_CODE")
	private String noticeCode;
	
	@ApiModelProperty(value = "告警名称")
    @TableField("NOTICE_NAME")
	private String noticeName;
	
	@ApiModelProperty(value = "系统编号")
	@TableField("SYSTEM_NO")
	private String systemNo;
	
	@ApiModelProperty(value = "系统名称")
    @TableField("SYSTEM_NAME")
	private String systemName;
	
	@ApiModelProperty(value = "策略编号")
	@TableField("STRATEGY_CODE")
	private String strategyCode;
	
	@ApiModelProperty(value = "策略名称")
    @TableField("STRATEGY_NAME")
	private String strategyName;
	
	@ApiModelProperty(value = "通知方式: 01-短信,02-微信,03-企业微信,04-API,05-H5")
    @TableField("NOTICE_METHOD")
	private String noticeMethod;
	
	@ApiModelProperty(value = "通知方式名称")
    @TableField("NOTICE_METHOD_NAME")
	private String noticeMethodName;

	@ApiModelProperty(value = "预警日期：yyyyMMdd")
    @TableField("ALARM_DATE")
	private String alarmDate;

    @ApiModelProperty(value = "总记录数")
    @TableField("TOTAL_NUM")
    private Integer totalNum;
	
	@ApiModelProperty(value = "成功次数")
    @TableField("SUCC_NUM")
	private Integer succNum;
	
	@ApiModelProperty(value = "失败次数")
    @TableField("FAIL_NUM")
	private Integer failNum;
	
	@ApiModelProperty(value = "备注")
    @TableField("create_time")
	private Date createTime;
	
	@ApiModelProperty(value = "备注")
    @TableField("RAMARK")
	private Integer ramark;
}
